home *** CD-ROM | disk | FTP | other *** search
/ Geek Games #12 / GEGA012.iso / eroticos / spermananalodyssea.swf / scripts / frame_8 / PlaceObject2_131_37 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Text File  |  2005-11-04  |  750b  |  26 lines

  1. onClipEvent(enterFrame){
  2.    scrollSpeed = _root.scrollSpeed - 3;
  3.    if(this._name != "lombriz" && _root.sperman.scrollStart == true)
  4.    {
  5.       this._x -= scrollSpeed;
  6.       if(this.hitTest(_root.sperman.choque.getBounds(_root).xMax,_root.sperman.choque.getBounds(_root).yMax,true))
  7.       {
  8.          _root.chocarF();
  9.       }
  10.       if(this.hitTest(_root.sperman.choque.getBounds(_root).xMin,_root.sperman.choque.getBounds(_root).yMin,true))
  11.       {
  12.          _root.chocarF();
  13.       }
  14.       if(this._x <= (- this._width) / 2)
  15.       {
  16.          _root.sperman.inverso = false;
  17.          this.removeMovieClip();
  18.       }
  19.    }
  20.    if(_root.restart == true)
  21.    {
  22.       _root.sperman.inverso = false;
  23.       this.removeMovieClip();
  24.    }
  25. }
  26.